page {
    background: #f8f8f9;
}

.floor {
    position: fixed;
    top: 50rpx;
    z-index: -1;
    width: 100%;
    height: 100rpx;
    line-height: 100rpx;
    color: #000;
    text-align: center;
    image {
        display: block;
        margin: 0 auto;
        width: 400rpx;
        height: 400rpx;
    }
}

.container {
    position: relative;
    background: #fff;
    z-index: 99;
    .addCity {
        position: absolute;
        height: 150rpx;
        line-height: 150rpx;
        top: 0;
        left: 20rpx;
        font-size: 50rpx;
        color: #fff;
        z-index: 999;
    }
    .dotsWrap {
        position: absolute;
        width: 750rpx;
        top: 190rpx;
        left: 50%;
        margin-left: -375rpx;
        z-index: 10;
        .dots {
            text-align: center;
            height: 30rpx;
            display: flex;
            justify-content: center;
            align-items: center;
            text {
                display: inline-block;
                margin-right: 10rpx;
                width: 10rpx;
                height: 10rpx;
                border-radius: 50%;
                background: #333;
                &.cur {
                    background: #fff;
                }
                &:last-child {
                    margin-right: 0;
                }
            }
        }
    }
    swiper {
        height: 90vh;
        .swiper-item {
            height: 100%;
        }
    }
    .mainContent {
        position: relative;
        height: 776rpx;
        width: 750rpx;
        image {
            position: absolute;
            height: 776rpx;
            width: 750rpx;
            z-index: -1;
        }
        .mainInfoWrap {
            height: 776rpx;
            width: 750rpx;
            padding-top: 140rpx;
            .address {
                text-align: center;
                height: 50rpx;
                line-height: 50rpx;
                text {
                    color: #fff;
                    &.iconfont {
                        font-size: 36rpx;
                        margin-right: 10rpx;
                    }
                }
                .updateTime {
                    font-size: 22rpx;
                    color: #fff;
                }
            }
            .weather {
                display: flex;
                flex-direction: column;
                align-items: center;
                color: #fff;
                margin-top: 80rpx;
                text-shadow: 2rpx 2rpx 5rpx #222;
                .temperature {
                    font-size: 120rpx;
                    font-weight: normal;
                    position: relative;
                    text {
                        position: absolute;
                        width: 20rpx;
                        height: 20rpx;
                        border: 6rpx solid #fff;
                        border-radius: 50%;
                        right: -20rpx;
                        top: 20rpx;
                        box-shadow: 0 0 2rpx #333;
                    }
                }
                .description {
                    font-size: 34rpx;
                }
                .range {
                    font-size: 26rpx;
                    margin-top: 20rpx;
                }
                .tips {
                    font-size: 22rpx;
                    margin-top: 30rpx;
                }
            }
        }
    }
    .daysWeather {
        padding: 40rpx 0 30rpx;
        background: #fff;
        &.yin {
            background: linear-gradient(#92CDD1, #fff);
        }
        &.qing {
            background: linear-gradient(#8FDDF1, #fff);
        }
        &.wu {
            background: linear-gradient(#D9C28C, #fff);
        }
        &.xue {
            background: linear-gradient(#D1D9E4, #fff);
        }
        &.ye {
            background: linear-gradient(#75A3B2, #fff);
        }
        &.yu {
            background: linear-gradient(#BFC1E8, #fff);
        }
        .tabs {
            display: flex;
            margin-left: 40rpx;
            text {
                background: #EDEDED;
                font-size: 22rpx;
                margin-right: 20rpx;
                width: 120rpx;
                text-align: center;
                height: 40rpx;
                line-height: 40rpx;
                border-radius: 40rpx;
                &.cur {
                    background: #FEF3C3;
                }
            }
        }
        .scrollBox {
            white-space: nowrap;
            overflow: hidden;
            font-size: 0;
            margin-top: 40rpx;
            .weatherBox {
                width: 180rpx;
                height: 200rpx;
                display: inline-block;
                border-right: 1rpx solid #fff;
                &:last-child {
                    border-right: none;
                }
                .weatherInfo {
                    display: flex;
                    height: 200rpx;
                    padding: 10rpx 0;
                    justify-content: space-between;
                    flex-direction: column;
                    align-items: center;
                    image {
                        width: 60rpx;
                        height: 60rpx;
                    }
                    view {
                        text {
                            display: block;
                            text-align: center;
                            font-size: 22rpx;
                            &+text {
                                margin-top: 5rpx;
                            }
                        }
                    }
                    text {
                        font-size: 22rpx;
                    }
                    .iconfont {
                        font-size: 50rpx;
                    }
                }
            }
        }
    }
    .quotes {
        height: 10vh;
        padding: 0 40rpx;
        border-top: 1rpx solid #EBEBEB;
        background: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text:first-child {
            align-self: flex-start;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            width: 90%;
            text-indent: 48rpx;
            font-size: 24rpx;
        }
        text:last-child {
            align-self: flex-end;
            font-size: 24rpx;
        }
    }
}